package com.zide.ams.service;

import java.util.List;
import com.zide.ams.domain.vo.result.AmsArticleResultVO;
import com.zide.ams.domain.vo.save.AmsArticleSaveVO;
import com.zide.ams.domain.vo.search.AmsArticleSearchVO;
import com.zide.common.core.domain.PageResult;
import com.zide.common.core.vo.CommonParamIdVO;

/**
 * 博客文章Service接口
 * 
 * @author zide
 * @date 2024-04-29
 */
public interface IAmsArticleService {

    /**
     * 查询博客文章列表
     */
    public PageResult<AmsArticleResultVO> searchAmsArticlePageList(AmsArticleSearchVO searchVO);

    /**
     * 查询博客文章
     */
    public AmsArticleResultVO selectAmsArticleById(Long id);

    /**
     * 新增博客文章
     */
    public int saveAmsArticle(AmsArticleSaveVO saveVO);

    /**
     * 修改博客文章
     */
    public int updateAmsArticle(AmsArticleSaveVO saveVO);

    /**
     * 批量删除博客文章

     */
    public int removeAmsArticleByIds(CommonParamIdVO idVO);

    List<AmsArticleResultVO> searchHotList();

    AmsArticleResultVO readArticle(Long articleId);
}
